package com.ddl.eurekaclient.strategyMode;

public class IntermediateMemberStrategy implements Strategy {

	private Double money;

	private Double discount;

	public IntermediateMemberStrategy(Double money, Double discount) {
		this.money = money;
		this.discount = discount;
	}

	@Override
	public Double getResult() {

		return money * discount;
	}

}
